package com.diseaseInformation

class Atlas {
    static searchable = true              // <-- Make Comments searchable
    String name
    String data
    byte [] Image
    Date lastUpdated
    int viewer = 0//number of user viewer
    static constraints = {
        name(unique:true,blank:false)
        data(blank:false)
        Image(size:1..5000000,nullable:false)
    }
}
